.mine-index {
  margin-top: 1rem;
  .author-box {
    position: relative;

    .icon-edit {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      width: 1rem;
      height: 1rem;
      cursor: pointer;
    }

    .to-login {
      background-color: #6a6a6a;
      color: white;
      padding: 1rem 2rem;
      border-radius: 5px;
    }
  }


  .function-area-box {
    justify-content: space-between;
    // align-items: center;
    margin-top: 1rem;
    .function-left-box {
      flex-direction: column;
      flex-grow: 0.9;
      .top-box {
        justify-content: space-between;
        .user-special-box {
          width: 46.5%;
          padding: 0.5rem;
          // padding-bottom: 1.25rem;
          box-sizing: border-box;
          border-radius: 5px;
          background-color: #ff4545;
          color: white;
          .box-title {
            font-size: 0.75rem;
            line-height: 0.75rem;
          }
          .box-content {
            text-align: center;
            font-size: 1.125rem;
            span {
              font-size: 1.25rem;
            }
          }
        }
      }
      
      .user-bac-box {
        flex-grow: 1;
        margin-top: 1rem;
        background-image: url(https://i.loli.net/2020/11/07/Y2DIiXRypamEktN.jpg);
        // height: 15rem;
        background-size: cover;
        background-position: center;
        border-radius: 5px;
      }
    }

    .function-right-box {
      width: 21rem;
      .box-container {
        justify-content: space-between;
        margin-bottom: 1rem;
        .mine-function-route {
          cursor: pointer;
          .self-box {
            margin: 0;
          }
          .box-insert {
            height: 10rem;
            width: 10rem;
            border-radius: 10px;
          }
        }
        &:nth-child(2) {
          margin-bottom: 0rem;
        }
      }

      .mine-function-route:nth-last-child(1) {
        margin-bottom: 0px;
      }
    }
  }

  .service-box {
    justify-content: space-between;
    .service-item {
      cursor: pointer;
      margin-top: 1rem;
      padding: 1.5rem 0%;
      width: 47.5%;
      text-align: center;
      background-color: black;
      color: white;
      border-radius: 3.75px;
    }
  }

  // 底部的box
  .bottom-box {
    justify-content: space-between;
    margin-bottom: 1rem;
    //退出登入， 切换账号
    .vertify-box {
      margin-top: 1rem;
      width: 47.5%;
      box-sizing: border-box;
      padding: 1.5rem ;
      border-radius: 5px;
      cursor: pointer;
      background-color: #ff4545;
      color: white;
    }
  }
}

@media(max-width: 1024px) {
  .mine-index {

    .user-box {
      .user-right-box {
        .motto {
          width: 20rem;
        }
      }
    }


    .function-area-box {
      flex-direction: column;
      width: 100%;
      .function-left-box {
        width: 100%;
        .top-box {
          .user-special-box {
            width: 49%;
          }
        }

        .user-bac-box {
          margin-top: 0.5rem;
          padding: 17.5%;
        }
      }

      .function-right-box {
        width: 100%;
        margin: 0.75rem 0 0.5rem;

        .box-container {
          .mine-function-route {
            width: 49%;
            .box-insert {
              width: 100%;
              border-radius: 5px;
            }
          }
        }
      }
    }

    .service-box {
      margin-bottom: 0.75rem;
      .service-item {
        width: 49%;
      }
    }

    .bottom-box {
      .vertify-box {
        width: 49%;
      }
    }
  }
}

// 根据实际清况调整
@media(max-width: 750px) {
  .mine-index {
    .user-box {
      .user-right-box {
        .motto {
          width: 17.5rem;
        }
      }

      .to-login {
        width: 100%;
      }
    }

    .function-area-box {
      margin-top: 0.75rem;
      // 右边盒子样式
      .function-right-box {
        .box-container {
          margin: 0;
          .mine-function-route {
            width: 100%;
            margin: 0.25rem 0;
            .box-insert {
              height: 4rem;
              border-radius: 2.5px;
              span {
                top: 1.25rem;
                left: 1rem;
              }
            }
          }
        }
      }
      //右边盒子样式 结尾
    }

    .service-box {
      .service-item {
        margin-top: 0.25rem;
      }
    }

    .bottom-box {
      margin-top: 0.5rem;
      .vertify-box {
        margin-top: 0rem;
        margin-bottom: 0.5rem;
        width: 100%;
      }
    }
  }
}